
// ExampleCodeDlg.h : header file
//

#pragma once
#include "afxwin.h"


// CExampleCodeDlg dialog
class CExampleCodeDlg : public CDialog
{
// Construction
public:
	CExampleCodeDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_EXAMPLECODE_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	CListBox m_listExample;
	APPDataBase *m_pCurAPP;
	CString m_cstrExplanation;
	CFile *m_pFile;

	BOOL SaveToFile(APPDataBase *pAppDataItem);
	BOOL UpdateFile();

	afx_msg void OnBnClickedBtnAdd();
	afx_msg void OnLbnSelchangeListExample();
	afx_msg void OnBnClickedBtnLaunch();
	afx_msg void OnBnClickedBtnEdit();
	afx_msg void OnBnClickedBtnDelete();
};
